From b4adf19334bd7fa00d76ba9f94e85aa190ccc741 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sun, 12 Mar 2006 09:52:19 +0100 Subject: [PATCH] pciback sends evtchn notification to pcifront when its request is processed. This may in future allow pcifront to avoid spin-waiting. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c b/linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c index dcfd746a0f..4c79e95e67 100644 --- a/linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c +++ b/linux-2.6-xen-sparse/drivers/xen/pciback/pciback_ops.c @@ -67,6 +67,7 @@ irqreturn_t pciback_handle_event(int irq, void *dev_id, struct pt_regs *regs) wmb(); clear_bit(_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags); + notify_remote_via_irq(pdev->evtchn_irq); out: return IRQ_HANDLED; -- 2.30.2